package {
	import data.PhotoReceiver;
	
	import flash.display.Sprite;
	import flash.events.Event;

	public class OpenSocialTestProject extends Sprite
	{
		[SWF(width="1000", height="600", frameRate="32", backgroundColor="#3e3e3e")]
	
		public function OpenSocialTestProject()
		{
			//System.useCodePage = true;
			var photoReceiver:PhotoReceiver = new PhotoReceiver();
			photoReceiver.search("이영애");
			photoReceiver.addEventListener(Event.COMPLETE, complete);			
		}
		
		private function complete(e:Event):void
		{
			this.addChild(e.target.dnImage);	
		}
	}
}
